package com.yld.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yld.demo.entity.OrderList;
import com.yld.demo.entity.PageBean;

import java.text.ParseException;
import java.util.List;

public interface OrderListService extends IService<OrderList> {
    List<OrderList> selectByUserId(Integer userId, String startDate, String endDate) throws ParseException;

    List<OrderList> selectAll();

    void delete(Integer orderId);

    String UpdateOrderList(OrderList orderlist);


    OrderList selectById(Integer orderNo) throws InterruptedException;

    PageBean<OrderList> getOrderList(PageBean<OrderList> pageBean) throws InterruptedException, ParseException;

}
